<?php

require_once dirname(__FILE__).'/../lib/vendor/symfony/autoload/sfCoreAutoload.class.php';
sfCoreAutoload::register();

class ProjectConfiguration extends sfProjectConfiguration
{
  static protected $zendLoaded = false;
  static public function registerZend() {
    if (self::$zendLoaded) {
      return;
    }
    set_include_path(dirname(__FILE__).'/../lib/vendor'.PATH_SEPARATOR.get_include_path());
    require_once dirname(__FILE__).'/../lib/vendor/Zend/Loader.php';
    Zend_Loader::registerAutoload();
    self::$zendLoaded = true;
  }

  public function setup()
  {
    $this->enableAllPluginsExcept(array('sfDoctrinePlugin', 'sfCompat10Plugin'));
  }
}
